package com.mgvlife.ddlw.vo;

import com.mgvlife.ddlw.entity.Student;

public class VoStudent {
	private String id;
	private String openId;
	private String name;
	private String stuId;
	private String grade;
	private String major;
	private String clazzNum;

	public VoStudent(Student student) {
		this.id = student.getId();
		this.openId = student.getOpenId();
		this.name = student.getName();
		this.stuId = student.getStuId();
		this.grade = student.getClazz().getGrade();
		this.major = student.getClazz().getMajor();
		this.clazzNum = student.getClazz().getClazzNum();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getClazzNum() {
		return clazzNum;
	}

	public void setClazzNum(String clazzNum) {
		this.clazzNum = clazzNum;
	}

}
